<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>AFC设备维修系统-errorTip</title>
		<link rel="stylesheet" type="text/css"
			href="<%=request.getContextPath()%>/css/common.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=request.getContextPath()%>/css/tag.css" />
		<script type="text/javascript"
			src="<%=request.getContextPath()%>/js/jquery-1.7.2.js">
		</script>
		<script type="text/javascript">
	function gotoList() {
		document.backform.action = "proQuery.action?opt=init";
		document.backform.submit();
	}
</script>

	</head>

	<body>
		<jsp:include page="/jsp/common/top.jsp"></jsp:include>
		<!-- 顶部start -->
		<div id="main">
			<div class="body">
				<!-- 导航菜单 -->
				<jsp:include page="/jsp/common/nav.jsp"></jsp:include>
				<div class="main_body">
					<form name="backform" action="">
						<s:if test="#request.errorCode=='3004'">
							<table class="condition"
								style="width: 100%; font-size: 14px; font-weight: bold; color: #000000;"
								align="center">
								<tr>
									<td>
										<input type="button" class="btn-title" value="返回"
											onclick="javascript: window.location.href = 'proQuery.action?opt=init';"/>
									</td>
								</tr>
							</table>
							<div id="add_div">
									<table class="table_add" style="width: 100%;">
										<tr>
											<th style="width: 150px; text-align: center;" colspan="3">
												<font color="red"> 该条记录不存在或已删除！</font>									
											</th>
										</tr>
								   </table>
							</div>
						</s:if>
						<s:else>
							<!-- 主体 -->

							<table class="condition"
								style="width: 100%; font-size: 14px; font-weight: bold; color: #000000;"
								align="center">
								<tr>
									<td style="height: 20px; color: #FF0000" align="center">
										<s:if test="#request.errorCode=='3001'">
							该项目信息已经存在，项目信息无法新增
							</s:if>
										<s:elseif test="#request.errorCode=='3002'">
							该项目信息已经删除或不存在，项目信息无法修改
							</s:elseif>
										<s:elseif test="#request.errorCode=='3003'">
							该项目下已有相关排期信息，项目信息无法删除
							</s:elseif>
										<s:elseif test="#request.errorCode=='3004'">
							项目相关信息不存在！
							</s:elseif>
										<s:elseif test="#request.errorCode=='301'">
							新增项目信息失败！
							</s:elseif>
										<s:elseif test="#request.errorCode=='302'">
							修改项目信息失败！
							</s:elseif>
										<s:elseif test="#request.errorCode=='303'">
							删除项目信息失败！
							</s:elseif>
										<s:elseif test="#request.errorCode=='304'">
							查询项目信息列表失败！
							</s:elseif>
										<s:elseif test="#request.errorCode=='305'">
							查询项目详细信息失败！
							</s:elseif>
										<s:elseif test="#request.errorCode=='306'">
							查询项目下相关媒介信息失败！
							</s:elseif>
										<s:elseif test="#request.errorCode=='307'">
							查询项目相关是否存在信息失败！
							</s:elseif>

									</td>
								</tr>
								<tr>
									<td align="center">
										<div style="marginBottom: 10px;">
											<input type="button" class="btn-title" value="返回列表"
												onclick="gotoList();"/>
										</div>
									</td>
								</tr>

                            </table>
							</s:else>
							
					</form>
				</div>

			</div>

			<!-- 顶部end -->

			<jsp:include page="/jsp/common/bottom.jsp"></jsp:include>
		</div>
		<script type="text/javascript">
	
</script>
	</body>
</html>